#include "circle.h"
#include <iostream>
#include <sstream>

using namespace std;

int main()
{
  Vector2 v=Vector2(4.,5.0);
  Vector2 v4 = Vector2(5,6);
  Circle c1 = Circle(v,18);
  Circle c2 = Circle();
  // Constructor copia que tambien podia ser llamado asi
  // Circle c3 = c1;
  Circle c3 = Circle(c1);
  
  REAL r1 = c1.getRadio();
  Vector2 v1 = c1.getCenter();
  
  REAL r2 = c2.getRadio();
  Vector2 v2 = c2.getCenter();
  
  REAL r3 = c3.getRadio();
  Vector2 v3 = c3.getCenter();
  
  cout<<r1<<endl;
  cout<<v1<<endl;
  cout<<r2<<endl;
  cout<<v2<<endl;
  cout<<r3<<endl;
  cout<<v3<<endl;
  
  cout<<c1.area()<<endl;
  cout<<c2.area()<<endl;
  cout<<c1.perimeter()<<endl;
  cout<<c2.perimeter()<<endl;
  
  c1.setRadio(-1);
  c2.setCenter(Vector2(-10,-20));
  
 Vector2 v5 = c2.getCenter();
  
  cout<< c1.getRadio() <<endl;
  cout<< c2.getCenter() <<endl;
  
}
